export default () => ({
  boot: {
    port: parseInt(process.env.BOOT_PORT || '3000', 10),
  },
  database: {
    host: process.env.DATABASE_HOST || 'localhost',
    port: parseInt(process.env.DATABASE_PORT || '3306', 10),
    type: process.env.DATABASE_TYPE || 'mysql',
    username: process.env.DATABASE_USERNAME,
    password: process.env.DATABASE_PASSWORD,
    database: process.env.DATABASE_DATEBASE,
    synchronize: true,
  },
});
